package cn.iocoder.yudao.module.wine.controller.admin.stockstore.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 仓库信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class StockStorePageReqVO extends PageParam {
    /**
     * 仓库类型：：1--入库，2--出库
     */
    @Schema(description = "仓库类型", example = "0")
    private Integer storeType;

    @Schema(description = "用户ID", example = "22800")
    private Long userId;

    @Schema(description = "仓库地区ID", example = "31650")
    private Long areaId;

    @Schema(description = "仓库名称", example = "王五")
    private String name;

    @Schema(description = "公司", example = "公司")
    private String company;

    @Schema(description = "电话", example = "电话")
    private String mobile;

    @Schema(description = "仓库备注", example = "随便")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
